<?php
session_start();
if (!(isset($_SESSION['myusername']) && $_SESSION['mypassword'] != '')) {
header ("Location: http://www.group3productions.info/combo/login/main_login.php");
}

include 'config.php';

$username=$_SESSION['myusername'];
$query  = "SELECT * FROM klant WHERE email = '$username'";
$result = mysql_query($query);

$row = mysql_fetch_array($result);
echo $row['naam']. " - ". $row['adres'];

?>